package com.example.lxc415billiards.mapper;

import com.example.lxc415billiards.domain.Banner;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BannerMapper {
    List<Banner> selectAllBanners();

    Banner selectBannerById(int bannerId);

    int insertBanner(Banner banner);

    int deleteBannerById(int bannerId);

    int updateBanner(Banner banner);
}
